//
//  SISSNetworkingManager+TenantProgress.h
//  SISSAPP
//
//  Created by 袁应荣 on 2018/1/2.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import "SISSNetworkingManager.h"

@class SISSTenantProgressModel;
@class SISSTenantProgressRecordInfoModel;
@class SISSRentOutModel;
@class SISSTenantEntrustContractModel;
@class SISSTenantIntentionRentOutModel;
@class SISSTenantTakeLookModel;
@class SISSTenantTakeLookAppointmentModel;
@class SISSCommentModel;
@class SISSTenantInfoModel;

@interface SISSNetworkingManager (TenantProgress)


/**
 4.2.6 删除租房进度 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)deleteTenantProgressWithArbpId:(NSString *)arbpId successBlock:(void (^)(id responseObject))successBlock failed:(void (^)(NSError *error))failedBlock;

/**
 4.4.6 获取租客进度的信息 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantProgressRecordInfoWithArbpId:(NSString *)arbpId
                                           success:(void(^)(SISSTenantProgressRecordInfoModel *progressInfoModel))successBlock
                                            failed:(void(^)(NSError *error))failedBlock;

/**
 4.23.4  获取租客推荐的出租信息 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantRecommendRentOutWithArbpId:(NSString *)arbpId success:(void(^)(SISSRentOutModel *rentOutModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.23.5  获取租房进度意向出租 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantIntentionRentOutWithArbpId:(NSString *)arbpId success:(void(^)(SISSTenantIntentionRentOutModel *intendRentOutModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.29.4 添加承租方委托协议 (图文上传)
 
 @param parameters 参数
 @param imagesArray 签名图片
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertTenantEntrustContractWithParameters:(NSDictionary *)parameters imagesArray:(NSArray *)imagesArray successBlock:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 4.45.1 获取租房进度带看预约记录 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantTakelookAppointmentWithArbpId:(NSString *)arbpId success:(void(^)(NSArray<SISSTenantTakeLookAppointmentModel *> *takeLookArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.45.3 获取租房进度带看详情 GET请求
 
 @param ltlrId 带看记录id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantTakelookDetailWithLtlrId:(NSString *)ltlrId success:(void(^)(SISSTenantTakeLookModel *takeLookDetailModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.45.6 获取租房进度带看记录 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantTakelookRecordWithArbpId:(NSString *)arbpId success:(void(^)(NSArray<SISSTenantTakeLookModel *> *takeLookArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.45.7  获取租客进度带看经纪人评价租客详情 GET请求
 
 @param ID 带看id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentTakeLookBrokerCommentTenantInfoWithId:(NSString *)ID success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.45.8  获取租客进度带看租客评价经纪人详情 GET请求
 
 @param ID 带看id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentTakeLookTenantCommentBrokerInfoWithId:(NSString *)ID success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.45.9  经纪人评价租客
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertBrokerCommentTenantWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.51.1 获取求租进度经纪人评价租客 GET请求
 
 @param arbpId 求租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentBrokerCommentTenantInfoWithArbpId:(NSString *)arbpId success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.51.2 获取求租进度租客评价经纪人 GET请求
 
 @param arbpId 求租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentTenantCommentBrokerInfoWithArbpId:(NSString *)arbpId success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.53.2  获取租房进度租客信息 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTenantEntrustContractTenantInfoWithArbpId:(NSString *)arbpId success:(void(^)(SISSTenantInfoModel *tenantInfoModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.47.1 设置交易出租 GET请求
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)confirmTradeLeaseWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.47.2 获取交易出租 GET请求
 
 @param arbpId 租客进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTradeLeaseInfoWithArbpId:(NSString *)arbpId success:(void(^)(SISSRentOutModel *rentOutModel))successBlock failed:(void(^)(NSError *error))failedBlock;

@end
